package com.dao.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.dao.IRetPginfoSetDao;

import com.model.Ret_pginfo_set;
import com.model.Ret_pginfo_setId;

@Repository
public class RetPginfoSetHibernateDao extends GenericHibernateDao<Ret_pginfo_set, Ret_pginfo_setId> 
	implements IRetPginfoSetDao{

	public List<Ret_pginfo_set> getHoldDetailByPrd(String prd_seq_id) {
		List<Ret_pginfo_set> ret_pginfo_setList = new ArrayList<Ret_pginfo_set>(); 
		String querySql = "FROM Ret_pginfo_set where id.prd_seq_id_fk ='"+ prd_seq_id + "'";
		ret_pginfo_setList = this.find(querySql);
		return ret_pginfo_setList;
	}
}
